package com.lovo.pis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.pis.dto.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<UserBean> {

    UserBean selectAll(int id);

    void deleteRole(int userId);
    void insertRole(@Param("userId") int userId, @Param("list") List<Integer> list);

}
